package com.mlz.www.type;

//自动类型转换
public class TypeDemo03 {
    public static void main(String[] args) {
        byte a = 12;
        int b = a; // byte -> int

        int c = 100;
        double d = c;
        System.out.println(d);

        char ch = 'a';//97
        int i = ch;
        System.out.println(i);
    }
}
